package com.info.zhiduoduo.repository.mapper.order;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.info.zhiduoduo.repository.dto.OrderBriefDto;
import com.info.zhiduoduo.repository.entity.order.Product;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
 * 购买AI助手智小多订单 Mapper 接口
 *
 * @author fanlei
 * @since 2023-07-04
 */
public interface ProductMapper extends BaseMapper<Product> {
    @Select("select * from zdd_product where id = #{id} and status = 1")
    Product selectProductById(@Param("id") Integer id);

}
